<#include "/common/common.ftl" encoding="UTF-8">
<#assign action = "article">
<link href="${staticUrl}/css/xtree.css" rel="stylesheet" type="text/css">
<script type="text/javascript"  language="javascript1.2" src="${staticUrl}/js/xtree.js"></script>
<script language="javascript1.2">
	//显示某个节点
	function showDetail(parentId,text)
	{
		document.getElementById("showList").src="${action}.action?channelId="+parentId;
	}
</script>
</head>
<body scroll="no">
<TABLE id="tb" border=0 width=100% height=100% cellpadding=0  cellspacing=0 style="table-layout:fixed;">
	<tr>
		<td id=runbar width=150px>
				<form name="channelForm" action="" method="post" >
					<table border=0 width=100% height=100% cellpadding=0  cellspacing=0>
						<tr>
							<td width=1px>&nbsp;</td>
							<td valign="up">
			<div style="width:100%;height:100%;overflow:auto;">
								<script language="javascript1.2">
							 	<!--
									var atree;
									var url="${request.contextPath}/security/channel!getTreeXml.action?rootId=1";
									atree = new WebFXLoadTree("主栏目",url,false,false,"javascript:showDetail(1);");	
								    document.write(atree);
								    atree.expand();
								-->
								</script>
			</div>
							</td>
						</tr>
					</table>
				</form>	
		</td>
		<td width=1px>
			<DIV id=a1 style="POSITION:relative; background-color:#D4D0C8; BORDER: 0px; BORDER-RIGHT: 1px ridge #ffffff; BORDER-LEFT:1 ridge #ffffff;WIDTH:6; HEIGHT: 100%;cursor: e-resize;"></DIV>
		</td>
		<td>
			<iframe id="showList" src="${action}.action" name="showList" width="100%" scrolling=no  frameborder=0 class="12hei"  height="100%" id="bottom">
					浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe>
		</td>
	</tr>
</TABLE>
</body>
</HTML>